def round_sum(a, b, c):
  def round10(num):
      mod=num%10
      if mod>=5:
          return(num//10+1)*10
      else:
          return(num//10)*10
  return round10(a)+round10(b)+round10(c)
